package com.brillilab.service.core.comments;

import java.util.Date;
import java.util.List;

import com.baomidou.mybatisplus.extension.service.IService;
import com.brillilab.common.entity.PageVo;
import com.brillilab.domain.po.comments.Comments;
import com.brillilab.domain.vo.comments.CommentsPagePaVo;

import cn.hutool.core.date.DateTime;

/**
* 评论信息
* @author 
* @date 2019/12/03
*/
public interface ICommentsService  extends IService<Comments> {

	/**
	 * 获取评论数量
	 * @param classify
	 * @param classifyId
	 * @param type
	 * @return
	 */
	int getCommentNum(Integer classify, Long classifyId, Integer type);
	
	/**
	 * 获取评论列表
	 * @param classify
	 * @param classifyId
	 * @param type
	 * @return
	 */
	List<Comments> getCommentList(Integer classify, Long classifyId, Integer type);

	/**
	 * 获取评论分页列表
	 * @param paVo
	 * @return
	 */
	PageVo<Comments> getCommentPage(CommentsPagePaVo paVo);

	/**
	 * 获取
	 * @param planMemberId
	 * @param startDate
	 * @param endDate
	 * @return
	 */
	List<Comments> getPlanList(Long planMemberId, Date startDate, Date endDate);

	int planNum(Long labMemberId, Long planMemberId, DateTime startDate, DateTime endDate);

}
